FROM mcr.microsoft.com/dotnet/core/aspnet:3.1 AS base
EXPOSE 80
EXPOSE 443

FROM base AS final
WORKDIR /app
COPY bin/publish .
ENTRYPOINT ["dotnet", "DockerCompose.Sample.Web.dll","--urls=http://0.0.0.0:80"]


FROM base AS Web
WORKDIR /app
COPY bin/publish .
ENTRYPOINT ["dotnet", "DockerCompose.Sample.Web.dll","--urls=http://0.0.0.0:80"]